package com.ark.cloud.javacallnative.entity.callback;

/**
 * Copyright(c): 2021 Cloud-Ark Inc.
 * Author(s): Ma Wei (mawei@cloud-ark.com)
 */
public class ConsumerCallBack {
    private String sStructName;
    private String pDataBuf;
    private int nDataLen;
    private int nStructNum;
    private long llUser;

    public ConsumerCallBack() {
    }

    public ConsumerCallBack(String sStructName, String pDataBuf, int nDataLen, int nStructNum, long llUser) {
        this.sStructName = sStructName;
        this.pDataBuf = pDataBuf;
        this.nDataLen = nDataLen;
        this.nStructNum = nStructNum;
        this.llUser = llUser;
    }

    public String getsStructName() {
        return sStructName;
    }

    public void setsStructName(String sStructName) {
        this.sStructName = sStructName;
    }

    public String getpDataBuf() {
        return pDataBuf;
    }

    public void setpDataBuf(String pDataBuf) {
        this.pDataBuf = pDataBuf;
    }

    public int getnDataLen() {
        return nDataLen;
    }

    public void setnDataLen(int nDataLen) {
        this.nDataLen = nDataLen;
    }

    public int getnStructNum() {
        return nStructNum;
    }

    public void setnStructNum(int nStructNum) {
        this.nStructNum = nStructNum;
    }

    public long getLlUser() {
        return llUser;
    }

    public void setLlUser(long llUser) {
        this.llUser = llUser;
    }

    @Override
    public String toString() {
        return "ConsumerCallBack{" +
                "sStructName='" + sStructName + '\'' +
                ", pDataBuf=" + pDataBuf +
                ", nDataLen=" + nDataLen +
                ", nStructNum=" + nStructNum +
                ", llUser=" + llUser +
                '}';
    }
}
